package com.adou.d16.dos;

import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class DISTest {
    public static void main(String[] args) {
        try(final DataInputStream dis = new DataInputStream(new FileInputStream("d1-helloword-app\\src\\it11_out.txt"));) {
            int a = dis.readInt();
            System.out.println(a);
            double d = dis.readDouble();
            System.out.println(d);
            String s = dis.readUTF();
            System.out.println(s);


        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
